package com.imddysc.springbootbatch001.utils;

import java.util.UUID;

public class UUIDuitls {

	/** 16位的UUID */
	public static String getUUID() {
		return UUID.randomUUID().toString().replace("-","").substring(0,15);
	}
	
	/** 32位的UUID */
	public static String getUUID32() {
		return UUID.randomUUID().toString().replace("-","").substring(0,31);
	}
	
	
}
